package com.woniuxy.builder;

/**
 * @Author: ideaAdmin
 * TODO: 具体的builder实现类
 * Date: 2022/2/15:13:08
 * Description:
 */

public class MacBookBuilder extends Builder {
    private Computer computer = new MacBook();
    @Override
    void buildBoard(String board) {
        computer.setmBoard(board);
    }

    @Override
    void buildDisplay(String display) {
        computer.setmDisplay(display);
    }

    @Override
    void buildOs() {
        computer.setmOs();
    }

    @Override
    Computer build() {
        return computer;
    }
}
